package cz.byteworks.android.myway.pojo;

import java.io.Serializable;
import java.util.Date;

public class Position implements Serializable{
	
	private static final long serialVersionUID = -4262877876527573292L;
	private Date locateTime;
	private double latitude;
	private double longitude;
	private double altitude;
	private String note;
	private String locality;
	private int mark;
	private int wayId;
	private int pid;
	
	public Date getLocateTime() {
		return locateTime;
	}
	public void setLocateTime(Date locateTime) {
		this.locateTime = locateTime;
	}
	public double getLatitude() {
		return latitude;
	}
	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}
	public double getLongitude() {
		return longitude;
	}
	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}
	public double getAltitude() {
		return altitude;
	}
	public void setAltitude(double altitude) {
		this.altitude = altitude;
	}
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
	public int getMark() {
		return mark;
	}
	public void setMark(int mark) {
		this.mark = mark;
	}
	public String toString() {
		return "LocTime: "+getLocateTime()+"; Latitude: "+getLatitude()+"; Longitude: "+getLongitude()+"; Altitude: "+getAltitude()+"; WayId: "+getWayId();
	}
	public void setWayId(int wayId) {
		this.wayId = wayId;
	}
	public int getWayId() {
		return wayId;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
	public int getPid() {
		return pid;
	}
	public void setLocality(String locality) {
		this.locality = locality;
	}
	public String getLocality() {
		return locality;
	}
}
